<?php
require_once(dirname(__FILE__)."/config.php");
?>

document.getElementById("Comment").innerHTML="<?php
  $dsql->GetOne("select * from `#@__archives` WHERE channel='3' order by id DESC limit 16");
  $dsql->Execute('me');
  while ($row = $dsql->GetArray('me')){
	  if($row['flag'] == "c,p"){
		  	$tj = "<i class='tj'></i>";
		  }else{
			$tj = "";
		  }
  ?><li><a href='../coin/view.php?aid=<?php echo $row['id']; ?>' target='_blank' title='<?php echo $row['title']; ?>'><img src='<?php echo $row['litpic']; ?>' width='200' /><?php echo $tj; ?></a><p class='title' title='<?php echo $row['title']; ?>'><a href='../coin/view.php?aid=<?php echo $row['id']; ?>' target='_blank'><?php echo $row['title']; ?></a></p></li><?php
  }  print_r($row);
  
  ?>";